package com.baosight.risk.service.ridc.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

import com.baosight.risk.base.entity.BaseEntity;
import lombok.Data;

/**
 * Table: T_RIDC_RISK_DESC
 */
@Data
@Table(name = "T_RIDC_RISK_DESC")
public class RidcRiskDesc extends BaseEntity {
    /**
     * 风险档案ID
     * <p>
     * Table:     T_RIDC_RISK_DESC
     * Column:    DOC_RISK_ID
     * Nullable:  true
     */
    @Column(name = "DOC_RISK_ID")
    private String docRiskId;

    /**
     * 年度
     * <p>
     * Table:     T_RIDC_RISK_DESC
     * Column:    ACCT_YEAR
     * Nullable:  true
     */
    @Column(name = "ACCT_YEAR")
    private String acctYear;

    /**
     * 描述类型(A-产生的原因;B-涉及的管理及业务流程;风险发生后可能给企业带来的影响（含机会风险）
     * <p>
     * Table:     T_RIDC_RISK_DESC
     * Column:    DESC_TYPE
     * Nullable:  true
     */
    @Column(name = "DESC_TYPE")
    private String descType;

    /**
     * 描述类型
     * <p>
     * Table:     T_RIDC_RISK_DESC
     * Column:    DESC_TYPE_NAME
     * Nullable:  true
     */
    @Column(name = "DESC_TYPE_NAME")
    private String descTypeName;

    /**
     * 风险描述
     * <p>
     * Table:     T_RIDC_RISK_DESC
     * Column:    RISK_DESC
     * Nullable:  true
     */
    @Column(name = "RISK_DESC")
    private String riskDesc;

    /**
     * 排序
     * <p>
     * Table:     T_RIDC_RISK_DESC
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @Column(name = "ROW_ORDER")
//    private String rowOrder;
    private  Integer rowOrder;
    /**
     * 类别
     * <p>
     * Table:     T_RIDC_RISK_DESC
     * Column:   CAT_FLAG
     * Nullable:  true
     */
    @Column(name = "CAT_FLAG")
    private String catFlag;

    /**
     * 类别
     * <p>
     * Table:     T_RIDC_RISK_DESC
     * Column:  PARENT_ID
     * Nullable:  true
     */
    @Column(name = "PARENT_ID")
    private String parentId;


    private static final long serialVersionUID = 1L;
}